home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20000824-20010305
/
000039_news@columbia.edu _Mon Sep 25 06:39:17 2000.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
4KB
Return-Path: <news@columbia.edu>
Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id GAA04227
for <kermit.misc@cpunix.cc.columbia.edu>; Mon, 25 Sep 2000 06:38:45 -0400 (EDT)
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id GAA28357
for <kermit.misc@watsun.cc.columbia.edu>; Mon, 25 Sep 2000 06:38:44 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id GAA09444
for kermit.misc@watsun.cc.columbia.edu; Mon, 25 Sep 2000 06:28:54 -0400 (EDT)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: leganii@surfree.com
Subject: Re: kermit/lynx co-ordination notes
Date: 25 Sep 2000 05:19:55 GMT
Organization: OCLUG
Message-ID: <8qmn9r$3bp$1@zook.lafn.org>
To: kermit.misc@columbia.edu
> Re: kermit/lynx co-ordination notes
>
> From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
> Reply to: [1]Frank da Cruz
> Date: 24 Sep 2000 15:59:07 GMT
> Organization: Columbia University
> Newsgroups:
> [2]comp.protocols.kermit.misc
> Followup to: [3]newsgroup
> References:
> [4]<E13d2oS-0002KR-00@dxmcgyver>
>In article [5]<E13d2oS-0002KR-00@dxmcgyver>, Dallas E. Legan wrote:
>: I'm posting this to comp.protocols.kermit.misc & oclug@oclug.org
>: (Orange County Linux Users Group) to make public some
>: tips for coordinating Kermit and Lynx, and maybe get some
>: constructive feedback...
>:
>Great post, thanks! It would be good to see a lot more posts of this
>nature. Once you get your questions cleared up, feel free to send it
>in as a C-Kermit "case study" to join the others at:
>
> [6]http://www.columbia.edu/kermit/ckermit.html#studies
It'd be my pleasure!
>
>: 2) I frequently run Lynx from kermit using the C-Kermit 7 pty
>: capability. Typically this is to automate login to web based email
>: accounts. It could also be used to log the browsing session.
>: Recently I ran into an instance where I was trying
>: to pass a string with included blanks to lynx on its' startup:
>:
>: .......
>: set network type pty
>: ...
>: set host lynx -parameter='some string' URL://somewhere.something
>: ...
>:
>: and lynx interpreted this as
>:
>: set host lynx -parameter='some string' URL://somewhere.something
>: **************** ******* ************************
>:
>Try using doublequotes instead of single quotes. Kermit execvp()'s the
>program directly, and recognizes doublequotes (but not apostrophes) for
>grouping. Obviously there's no way it can duplicate all the syntax rules
>of every shell, so if you need anything more shell-like, your intermediate
>shell approach is quite appropriate:
Thank you.
That's why I didn't really think of this as a bug, there's a way to get
it to work, just wasn't obvious to me.
I'll try the double quotes and see if it simplifies things.
My habit is to use single quotes unless there is a specific reason
to use doubles - usually the need to interpolate variables.
This will probably make that list of specific reasons.
>
>: set host { /bin/bash -c -
>: " exec lynx -parameter='some string' URL://somewhere.something" }
>:
>: invoking bash just long enough to set up the argv/argc input,
>: before it gets overlaid by Lynx.
>
>- Frank
--
Regards,
Dallas E. Legan II / leganii@surfree.com / dallasii@kincyb.com
Powered by......Lynx, the Internet at full speed.